package cn.edu.sjtu.software.sjtucontacts.model;

import java.io.Serializable;

public class Recent implements Serializable {

	private int contactId;
	private String contactName;
	private int time;
	private String phoneNumber;
	private int type;
	
	public Recent()
	{
		super();
	}
	
	public Recent(int contactId, String contactName, int time, String phoneNumber, int type )
	{
		super();
		this.contactId = contactId;
		this.contactName = contactName;
		this.time = time;
		this.phoneNumber = phoneNumber;
		this.type = type;
	}
	
	public int getContactId()
	{
		return contactId;
	}
	
	public void setContactId(int contactId)
	{
		this.contactId = contactId;
	}
	
	public String getContactName()
	{
		return contactName;
	}
	
	public void setContactName(String contactName)
	{
		this.contactName = contactName;
	}
	
	public int getTime()
	{
		return time;
	}
	
	public void setTime(int time)
	{
		this.time = time;
	}
	
	public String getPhoneNumber()
	{
		return phoneNumber;
	}
	
	public void setPhoneNumber(String phoneNumber)
	{
		this.phoneNumber = phoneNumber;
	}
	
	public int getType()
	{
		return type;
	}
	
	public void setType(int type)
	{
		this.type = type;
	}
	
}
